package Homework;

import java.util.ArrayList;
import java.util.List;
import java.util.Map.Entry;

public class Player {
	private String name;
	private List<Entry<Integer,String>> poker = new ArrayList<Entry<Integer,String>>();
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public List<Entry<Integer,String>> getPoker() {
		return poker;
	}
	public void setPoker(List<Entry<Integer,String>> poker) {
		this.poker = poker;
	}
	public Player() {
		super();
	}
	public List<String> watchPokerValues(){
		List<String> values = new ArrayList<String>();
		for(Entry<Integer,String> e : poker){
			values.add(e.getValue());
		}
		return values;
	}

}
